@import 'common.scss';

.header {
  .header-top {
    line-height: 42px;
    background: #f6f6f6;
    width: 100%;
    color: #999999;

    .wrap {
      font-size: 16px;

      ul {
        display: flex;

        li {
          padding: 0 10px;
        }

        a {
          color: #999999;
        }
      }
    }
  }

  .logo-nav {
    padding: 20px 10px;

    .nav {
      padding-right: 30px;
      font-size: 16px;

      a {
        padding: 0 10px;
        line-height: 49px;
        color: #333333;
      }
    }
  }
}

.nav-item {
  margin-top: 20px;
}

.index-list {
  .title {
    margin: 25px auto;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;
  }

  .list-item {
    display: flex;

    a {
      width: 30%;
      border: 1px solid #f6f6f6;
      position: relative;
      color: #fff;

      img {
        width: 100%;
      }

      .content {
        position: absolute;
        left: 10px;
        top: 15px;

        h3 {
          font-weight: bold;
          font-size: 25px;
          padding-bottom: 5px;
        }
      }
    }

    a+a {
      margin-left: 5%;
    }
  }
}

.news-list {
  a:hover {
    color: #000;
  }

  a {
    display: flex;
    flex-direction: column;

    h3 {
      color: #d1a640;
      padding-bottom: 8px;
    }

    p {
      color: #747474;
      line-height: 22px;
    }
  }

  a+a {
    margin-top: 20px;
  }
}

.index-about {
  .about-title {
    text-align: center;
    margin: 30px;
  }

  .about-content {
    display: flex;
    margin: 10px auto 20px auto;
    height: 253px;

    .about-left {
      width: 353px;
      margin-right: 20px;
    }

    .about-right {
      width: calc(100%-335px);
      font-size: 16px;
      line-height: 26px;

      p+p {
        margin-top: 10px;
      }
    }
  }
}

.footer {
  height: 80px;
  line-height: 80px;
  font-size: 14px;
  color: #fff;
  background: #333333;
}

.banner-item {
  width: 100%;

  img {
    width: 100%;
    height: 480px;
  }
}

.tit {
  .title {
    text-align: center;
    margin: 30px auto;
    padding-bottom: 20px;
    ;
    border-bottom: 1px solid #f0f0f0;
  }
}

.product {
  .list {
    display: flex;
    flex-wrap: wrap;

    li {
      width: 23%;
      margin: 0 1%;
      text-align: center;

      p {
        font-size: 16px;
        line-height: 40px;
        margin-bottom: 10px;
      }

      img {
        width: 100%;
      }
    }
  }

  .page {
    display: flex;
    justify-content: flex-end;
  }
}

.about {
  .about-img {
    text-align: center;
  }

  .about-content {
    margin-top: 30px;
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 40px;

    p {
      text-indent: 2em;
    }

    .content {
      margin-top: 40px;
    }

    span {
      display: block;
    }
  }
}

.farewell {
  .video {
    height: 550px;
    width: 800px;
    margin: 0 auto;
  }
}

.play {
  margin-top: 10px;
  padding-bottom: 30px;

  .item {
    margin-top: 20px;
  }
}

.sacrifice {
  background: #f2f2f2;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0px -1px 5px rgba($color: #000000, $alpha: 0.2);

  .nav {
    width: 222px;
    display: flex;
    margin: 0 auto;
    color: #966796;
    text-align: center;
    border-radius: 20px;
    line-height: 35px;
    overflow: hidden;
    border: 1px solid #cacaca;

    li {
      width: 50%;
      box-sizing: border-box;
      cursor: pointer;
    }

    li+li {
      border-left: 1px solid #e7d5d0;
    }

    .active {
      background: #8f3a23;
      color: #fff;
    }
  }

  .sacrifice-item {
    margin-bottom: 20px;

    p {
      text-align: center;
      font-size: 18px;
      line-height: 40px;
      color: #525252;
    }
  }

  .content {
    .sacri-tit {
      text-align: center;
      margin-bottom: 30px;
      margin-top: 30px;

      h3 {
        color: #3d3d3d;
        font-size: 30px;
      }

      p {
        color: #919191;
        margin-top: 5px;
      }
    }

    .sacrifice-list {
      .item {
        width: 390px;

        img {
          width: 100%;
          height: 100%;
        }

        .item1 {
          width: 100%;
          margin-top: 10px;
        }

        .item2 {
          width: 190px;
          height: 190px;
          box-sizing: border-box;
        }
      }

      .text {
        height: 190px;
        width: 390px;
        text-align: center;
        background: #e6dfda;
        padding: 40px 0;
        box-sizing: border-box;
        color: #625e57;
        font-size: 14px;
        line-height: 28px;

        span {
          color: #2d2b29;
          font-size: 33px;
          margin-right: 5px;
        }
      }
    }
  }
}

.traffic {
  .content {
    margin-top: 50px;
    padding-bottom: 50px;
    text-align: center;

    .item {
      margin-top: 40px;
    }
  }
}

.farewell {
  .content-bg {
    background-image: url('../img/farewell-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 956px;
    background-size: cover;

    .head-img {
      width: 110px;
      height: 110px;
      overflow: hidden;
      margin: 0 auto;
      position: relative;
      right: 10px;
      top: 50px;
      border-radius: 50%;

      img {
        width: 100%;
      }
    }

    .info {
      text-align: center;
      color: #fff;
      margin-top: 80px;

      .info-content {
        h3 {
          font-weight: bold;
          font-size: 40px;
          line-height: 80px;
        }

        span {
          font-size: 20px;
          margin-right: 20px;
        }
      }

      .info-text {
        width: 600px;
        margin: 50px auto 0;
        font-size: 17px;
        line-height: 30px;

        p {
          margin-top: 10px;
        }

      }

      .info-btn {
        background: #22be6d;
        width: 200px;
        line-height: 60px;
        font-weight: bold;
        font-size: 22px;
        border-radius: 30px;
        margin: 20px auto 0;
      }

      .list-head-img {
        width: 600px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        ;

        li {
          width: 50px;
          height: 50px;
          overflow: hidden;
          border-radius: 50%;
          margin: 10px;

          img {
            width: 100%;
          }
        }
      }
    }

    .comme {
      color: #fff;
      text-align: center;
      font-size: 16px;
      margin-top: 10px;

      span {
        font-weight: bold;
        font-size: 30px;
        margin: 5px;
      }
    }
  }

  .circle-bg {
    background: #f6f6f6;
    padding: 30px;
  }

  .circle {
    width: 954px;

    .tit {
      text-align: center;
      font-size: 30px;
      margin: 30px;
    }

    .list-item {
      .titles {
        border-bottom: 1px solid #e0e0e0;

        p {
          font-weight: bold;
          margin-bottom: 10px;
          font-size: 17px;
        }

        span {
          color: #7e7676;
        }
      }

      .list {
        width: 48%;
      }

      .item {
        >p {
          width: 100%;
          background: #fff;
          padding: 10px 20px;
          line-height: 40px;
          margin-top: 20px;
          box-sizing: border-box;

          img {
            margin-right: 20px;
          }
        }


      }

      .user-info {
        margin-top: 10px;

        i {
          margin-top: 10px;

        }
      }

      .info-con {
        dd {
          text-align: right;
          margin-right: 4px;
          font-size: 14px;
          margin-top: 8px;

          p {
            color: #2dc9bc;
            font-weight: bold;
          }

          span {
            color: #6a6a6a;
          }
        }

        dt {
          width: 50px;
          height: 50px;
          border-radius: 50%;
          overflow: hidden;

          img {
            width: 100%;
          }
        }
      }

      .log {
        .item {
          background: #fff;
          padding: 20px 10px;
          border-radius: 5px;
          margin-top: 10px;

          h3 {
            font-weight: bold;
            font-size: 26px;
            margin-bottom: 5px;
          }

          div {
            line-height: 24px;
            margin-bottom: 5px;
          }

          a {
            color: #2dc77b
          }
        }

        .info-con {
          dd {
            line-height: 40px;
          }
        }
      }
    }
  }

  .button-list {
    width: 300px;
    margin: 50px auto 0;

    p {
      width: 120px;
      text-align: 30px;
      text-align: center;
      background: #636363;
      line-height: 40px;
      border-radius: 30px;

      a {
        display: block;
        color: #fff;
      }
    }

    .active {
      background: #24bf70;
    }
  }
}

.detail {
  position: relative;
  display: flex;

  .small-img {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    line-height: 0;
    content: "";
  }

  .magnifier {
    width: 500px;
    position: relative;
  }

  .magnifier-container {
    width: 500px;
    height: 500px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
  }

  .move-view {
    width: 100px;
    height: 100px;
    position: absolute;
    background-image: url('../img/move-box.png');
  }

  .images-cover {
    height: 100%;
    width: 100%;
    position: relative;
  }

  .images-cover img {
    position: absolute;
  }

  .magnifier-assembly {
    height: 100px;
  }

  .magnifier-btn {
    position: absolute;
    font-family: "宋体";
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -40px;
  }

  .magnifier-btn span {
    line-height: 80px;
    height: 80px;
    width: 20px;
    background-color: #6e6e6e;
    color: #fff;
    display: block;
    z-index: 9998;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 3px;
  }

  .magnifier-btn .magnifier-btn-left {
    float: left;
  }

  .magnifier-btn .magnifier-btn-right {
    float: right;
  }

  .magnifier-line ul {
    display: block;
    display: flex;
    justify-content: space-around;

  }

  .magnifier-line li {
    cursor: pointer;
  }

  .magnifier-line ul>.active .small-img {
    border: 1px solid #d1a640;
  }

  .small-img {
    height: 90px;
    padding: 1px;
    margin: 5px 10px;
    border: 1px solid #ddd;
    text-align: center;
  }

  .small-img img {
    max-width: 100%;
    max-height: 100%;
  }

  .magnifier-view {
    width: 100%;
    height: 100%;
    position: absolute;
    right: -105%;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    display: none;
    overflow: hidden;
  }

  .magnifier-view img {
    display: block;
  }

  .animation03 {
    transition: all 0.3s ease-in 0.1s;
    -ms-transition: all 0.3s ease-in 0.1s;
    -moz-transition: all 0.3s ease-in 0.1s;
    -webkit-transition: all 0.3s ease-in 0.1s;
    -o-transition: all 0.3s ease-in 0.1s;
  }

  .content {
    padding: 40px;
    box-sizing: border-box;

    h3 {
      color: #d1a640;
      font-size: 30px;
    }

    .ul {
      height: 260px;
      padding-top: 20px;

      li {
        line-height: 30px;

        span {
          margin-left: 1em;
        }
      }
    }

    .con {
      display: flex;
      height: 40px;
      line-height: 40px;

      .btn {
        color: #d1a640;
        width: 150px;
        text-align: center;
        border-radius: 5px;
        border: 1px solid #d1a640;
        margin-right: 30px;
        cursor: pointer;
      }
      a {
        color: #999999;
      }
    }

    .phone {
      color: #666666;
      margin-left: 40px;
      font-weight: bold;
      margin-top: 25px;
      display: flex;

      span {
        margin-left: 40px;
        font-size: 35px;
        line-height: 52px;
        display: inline-block;
      }
    }
  }
}

.detail-content {
  margin-top: 40px;

  .nav {
    display: flex;

    p {
      width: 150px;
      text-align: center;
      line-height: 50px;
      cursor: pointer;
    }

    .active {
      background: #d1a640;
      color: #fff;
    }
  }

  .content {
    .wrap-content {
      img {
        width: 100%;
      }
    }
  }
}